<?php /* Smarty version 2.6.14, created on 2015-04-15 15:32:55
         compiled from analysis_channel.add.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript" src="<?php echo @SITE_URL; ?>
/public/js/Validator.js"></script>

<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> onsubmit="return  (checkPath() && Validator.Validate(this))" <?php endif; ?> enctype="multipart/form-data">
<table width="100%" border="0" class="adminform">
  <tr>
  	<th>渠道号</th>
  	<th>渠道名称</th>
    <th>&nbsp;</th>
  </tr>
  <tr>
  	<td><input type="text" class="text" name="channel_code" value="<?php echo $this->_tpl_vars['channel']['channel_code']; ?>
" dataType="Require" msg="渠道号不能为空"/>
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><input type="text" class="text" name="name" value="<?php echo $this->_tpl_vars['channel']['name']; ?>
" dataType="Require" msg="渠道名称不能为空"/>
    </td>
    <td>&nbsp;</td>
  </tr>

</table>
<div>
<input type="submit"  id="button" value="提交" class="submit"/>
</div>

<?php if ($this->_tpl_vars['channel']): ?>
<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['channel']['id']; ?>
" />
<?php endif; ?>
</form>